#ifndef TABWIDGET_H
#define TABWIDGET_H
#include <QTabWidget>

class TabWidget : public QTabWidget
{
    Q_OBJECT
public:
    TabWidget(QWidget *parent = 0);
    ~TabWidget();


private:
    QTabBar* tb;
    bool save(const int wIndex);

private slots:
    void closeTab(const int index);
};

#endif // TABWIDGET_H
